package com.lin.controller.client;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author lin
 */
@Controller
public class LoginController {


    @RequestMapping("toLogin")
    public String toLogin () {
        return "comm/login";
    }

    @RequestMapping("/errPage/{comm}/{errnum}")
    public String errPage ( @PathVariable("comm") String comm, @PathVariable("errnum") String errnum ) {
        return comm + "/" + errnum;
    }

}
